package com.ruoyi.client.domain;

import java.math.BigDecimal;

public class SysHoldStock {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private String symbol;
    private Integer num;
    private Integer accountId;
    private BigDecimal currentRate;
    private BigDecimal priceChange;
    private BigDecimal trade;
    private String sname;

    public BigDecimal getTrade() {
        return trade;
    }

    public void setTrade(BigDecimal trade) {
        this.trade = trade;
    }

    public BigDecimal getPriceChange() {
        return priceChange;
    }

    public void setPriceChange(BigDecimal priceChange) {
        this.priceChange = priceChange;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public BigDecimal getCurrentRate() {
        return currentRate;
    }

    public void setCurrentRate(BigDecimal currentRate) {
        this.currentRate = currentRate;
    }

    public SysHoldStock(Integer id, String symbol, Integer num, Integer accountId, BigDecimal currentRate) {
        this.id = id;
        this.symbol = symbol;
        this.num = num;
        this.accountId = accountId;
        this.currentRate = currentRate;
    }

    public SysHoldStock() {
    }

    @Override
    public String toString() {
        return "SysHoldStock{" +
                "id=" + id +
                ", symbol='" + symbol + '\'' +
                ", num=" + num +
                ", accountId=" + accountId +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getAccountId() {
        return accountId;
    }

    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    public SysHoldStock(Integer id, String symbol, Integer num, Integer accountId) {
        this.id = id;
        this.symbol = symbol;
        this.num = num;
        this.accountId = accountId;
    }
}
